package com.example.base.config;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;

public class SpringConfig {

    private static ResourceHandlerRegistry resourceHandlerRegistry;

    public static void setResourceHandlerRegistry(ResourceHandlerRegistry registry){
        SpringConfig.resourceHandlerRegistry=registry;
    }

    public static ResourceHandlerRegistry getResourceHandlerRegistry(){
        return SpringConfig.resourceHandlerRegistry;
    }
}
